package builder;

/**
 * @program: DesignModeProject
 * @description:
 * @author: Li canzhang
 * @create: 2022-05-15 17:08
 **/
public class Client {
    public static void main(String[] args) {
        //创建指挥者
        HouseDirctor houseDirctor = new HouseDirctor();
        //创建具体的build
        CommonHouse commonHouse = new CommonHouse();

        houseDirctor.setHouseBuilder(commonHouse);

        House house = houseDirctor.constructHouse();

        System.out.println(house.toString());

        StringBuilder stringBuilder = new StringBuilder();
    }
}
